package com.deco.logic.product;

import com.deco.dao.domain.table.DicVehicle;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.deco.dao.delegate.product.IDicVehicleDao;
import com.deco.domain.vo.product.DicVehicleVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 功能概述:
 * </p>
 * <p>
 * 功能详述:
 * </p>
 */
@Component
public class DicVehicleLogic {
    /*========================================================================*
     *                         Public Fields (公共属性)
     *========================================================================*/

    /*========================================================================*
     *                         Private Fields (私有属性)
     *========================================================================*/
    
    @Autowired
    IDicVehicleDao dicVehicleDao;

    /*========================================================================*
     *                         Construct Methods (构造方法)
     *========================================================================*/

    /*========================================================================*
     *                         Public Methods (公有方法)
     *========================================================================*/

	public DicVehicleVo getDicVehicle(int id) {
		DicVehicleVo dicVehicleVo = new DicVehicleVo();
		dicVehicleVo.setId(id);
		return dicVehicleDao.selectOne(dicVehicleVo);
	}

	public void create(DicVehicleVo dicVehicleVo) {
		dicVehicleDao.add(dicVehicleVo);
		
	}

	public void update(DicVehicleVo dicVehicleVo) {
		dicVehicleDao.update(dicVehicleVo);
		
	}

	public void delete(int id) {
		dicVehicleDao.delete(id);
	}

	public List<Map<String,Object>> carList(Map<String,Object> params){
		return dicVehicleDao.carList(params);
	}


	public List<Map<String,Object>> carList1(DicVehicleVo params){
		return dicVehicleDao.carList1(params);
	}


	public List<Map<String,Object>> carList2(DicVehicleVo params){
		return dicVehicleDao.carList2(params);
	}


	public List<DicVehicleVo> phonePartList(DicVehicleVo params){
		return dicVehicleDao.phonePartList(params);
	}


	public List<Map<String,Object>> selectTyreList(Map<String,Object> params){
		return dicVehicleDao.selectTyreList(params);
	}


	public List<Map<String,Object>> selectTyreList2(Map<String,Object> params){
		return dicVehicleDao.selectTyreList2(params);
	}


	public List<Map<String,Object>> selectTyreList4(Map<String,Object> params){
		return dicVehicleDao.selectTyreList4(params);
	}


	public List<Map<String,Object>> selectTyreList5(Map<String,Object> params){
		return dicVehicleDao.selectTyreList5(params);
	}


	public List<Map<String,Object>> selectTyreList6(Map<String,Object> params){
		return dicVehicleDao.selectTyreList6(params);
	}


	public List<Map<String,Object>> selectTyreList1(Map<String,Object> params){
		return dicVehicleDao.selectTyreList1(params);
	}


	public List<DicVehicleVo> selectTyreList3(DicVehicleVo params){
		return dicVehicleDao.selectTyreList3(params);
	}


	public List<Map<String,Object>> getCd(Map<String,Object> params){
		return dicVehicleDao.getCd(params);
	}


	public List<Map<String,Object>> getMdCd(Map<String,Object> params){
		return dicVehicleDao.getMdCd(params);
	}


	public List<DicVehicleVo> selectAbleProd(DicVehicleVo params){
		return dicVehicleDao.selectAbleProd(params);
	}


	public List<DicVehicleVo> selectAbleProdSGMD(DicVehicleVo params){
		return dicVehicleDao.selectAbleProdSGMD(params);
	}


	public List<Map<String,Object>> selectMdAbleProd(Map<String,Object> params){
		return dicVehicleDao.selectMdAbleProd(params);
	}


	public List<Map<String,Object>> selectMdAbleProdSGMD(Map<String,Object> params){
		return dicVehicleDao.selectMdAbleProdSGMD(params);
	}


	public List<DicVehicleVo> resList(DicVehicleVo params){
		return dicVehicleDao.resList(params);
	}


	public List<Map<String,Object>> resList1(Map<String,Object> params){
		return dicVehicleDao.resList1(params);
	}


	public List<DicVehicleVo> partList(DicVehicleVo params){
		return dicVehicleDao.partList(params);
	}


	public List<Map<String,Object>> desList(Map<String,Object> params){
		return dicVehicleDao.desList(params);
	}


	public List<DicVehicleVo> desList1(DicVehicleVo params){
		return dicVehicleDao.desList1(params);
	}


	public List<DicVehicleVo> desList2(DicVehicleVo params){
		return dicVehicleDao.desList2(params);
	}


	public List<DicVehicleVo> selectVehicleNoByPart(DicVehicleVo params){
		return dicVehicleDao.selectVehicleNoByPart(params);
	}


	public List<Map<String,Object>> selectVehicleNoByPart1(Map<String,Object> params){
		return dicVehicleDao.selectVehicleNoByPart1(params);
	}


	public List<Map<String,Object>> selectPartList1(Map<String,Object> params){
		return dicVehicleDao.selectPartList1(params);
	}


	public List<DicVehicleVo> selectPartList(DicVehicleVo params){
		return dicVehicleDao.selectPartList(params);
	}


	public List<DicVehicleVo> selectBrandList(Map<String,Object> params){
		return dicVehicleDao.selectBrandList(params);
	}


	public List<DicVehicleVo> selectBrandList1(Map<String,Object> params){
		return dicVehicleDao.selectBrandList1(params);
	}


	public List<DicVehicleVo> selectModelList(Map<String,Object> params){
		return dicVehicleDao.selectModelList(params);
	}


	public List<DicVehicleVo> selectModelList1(Map<String,Object> params){
		return dicVehicleDao.selectModelList1(params);
	}


	public List<DicVehicleVo> selectDetType(Map<String,Object> params){
		return dicVehicleDao.selectDetType(params);
	}


	public List<DicVehicleVo> selectDetType1(Map<String,Object> params){
		return dicVehicleDao.selectDetType1(params);
	}


	public List<DicVehicleVo> selectModelYearList(Map<String,Object> params){
		return dicVehicleDao.selectModelYearList(params);
	}


	public List<DicVehicleVo> selectDisplacementl(Map<String,Object> params){
		return dicVehicleDao.selectDisplacementl(params);
	}


	public List<DicVehicleVo> selectDisplacementl1(Map<String,Object> params){
		return dicVehicleDao.selectDisplacementl1(params);
	}


	public List<DicVehicleVo> selectEngineList(String param){
		return dicVehicleDao.selectEngineList(param);
	}

    /*========================================================================*
     *                         Private Methods (私有方法)
     *========================================================================*/
}
